package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工艺明细
 * </p>
 *
 * @author 小啊刚
 * @since 2020-12-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mab_process_route_detail")
@ApiModel(value="ErpProcessRouteDetail对象", description="工艺明细")
public class ErpProcessRouteDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "工艺id")
    @TableField("pr_id")
    private Integer prId;

    @ApiModelProperty(value = "加工顺序")
    @TableField("work_order")
    private Integer workOrder;

    @ApiModelProperty(value = "工序id")
    @TableField("work_id")
    private Integer workId;

    @ApiModelProperty(value = "工序名称")
    @TableField("work_name")
    private String workName;

    @ApiModelProperty(value = "工序编码")
    @TableField("work_code")
    private String workCode;

    @ApiModelProperty(value = "工序标识1:首工序2:尾工序3:中间工序")
    @TableField("work_flag")
    private Integer workFlag;

    @ApiModelProperty(value = "加工方式1:自制2:委外")
    @TableField("process_method")
    private Integer processMethod;

    @ApiModelProperty(value = "工艺要求")
    @TableField("process_require")
    private String processRequire;

    @ApiModelProperty(value = "工资类型1:计件2:计时3:不核算")
    @TableField("wages_type")
    private Integer wagesType;

    @ApiModelProperty(value = "检验方式 1:免检2:过程检验3:完工检验")
    @TableField("inspect_method")
    private Integer inspectMethod;

    @ApiModelProperty(value = "质检标准")
    @TableField("quality_standard")
    private String qualityStandard;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;


}
